package com.bm.exception;

public enum ExceptionCode {

    PASSWORD_ERROR("密码错误"),

    PASSWORD_FORMAT_ERROR("密码格式不正确"),

    USER_EXISTS("用户已存在"),

    CODE_ERROR("验证码错误"),

    //Different password
    DIFFERENT_PASSWORD("密码需两次输入一致"),

    SAME_AS_OLD_PASSWORD("与旧密码相同"),

    USER_NOTFOUND("用户不存在");


    final String msg;

    ExceptionCode(String msg) {
        this.msg = msg;
    }
}
